package com.three.mapper;

import com.three.entity.Shopkeeperchange;
import com.three.entity.Stafftransfer;
import com.three.vo.StaffExListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hp
* @description 针对表【stafftransfer】的数据库操作Mapper
* @createDate 2024-10-26 09:35:07
* @Entity com.three.entity.Stafftransfer
*/
public interface StafftransferMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Stafftransfer record);

    int insertSelective(Stafftransfer record);

    Stafftransfer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Stafftransfer record);

    int updateByPrimaryKey(Stafftransfer record);
    //查询所有
    List<Stafftransfer> selectAll(StaffExListVo staffExListVo);
    //添加平调审核信息
    int insertPingdiao(Stafftransfer stafftransfer);
    //根据id修改状态码
    int updateState(Stafftransfer stafftransfer);

    //查询员工审核表该员工的状态
    Stafftransfer selectStafftransferState(Integer staffid);
}
